package cn.dcp.muck.service;

import cn.dcp.muck.common.entity.Paging;
import cn.dcp.muck.entity.SysLog;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

/**
 * 操作日志
 *
 * @author henrycao
 * @email 631079326@qq.com
 * @date 2017-06-30 11:31:53
 */
public interface SysLogService {

    cn.dcp.muck.entity.SysLog queryObject(String id);

    List<SysLog> queryList(Map<String, Object> map);

    PageInfo<SysLog> findPage(Paging page, SysLog sysLog);

    /**
     * 查询操作日志列表
     *
     * @param page  分页信息
     * @param query 查询条件
     * @return 用户 page info
     */
    PageInfo<SysLog> queryPage(Paging page, Map<String, Object> query);

    SysLog save(SysLog sysLog);

    void deleteById(String id);

    void delete(SysLog sysLog);
}
